package com.xnyzc.lhy.task.config;

import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description:
 * @Author: scootXin
 * @Date: 2019/4/23 14:34
 */
@Configuration
public class TokenAuthConfiguration {

    // token 请求token(暂时不使用)
    // @Value("${global.pang.tokens.task}")
    //  private String token="";


    @Bean
    public RequestInterceptor basicAuthRequestInterceptor() {
        return new TokenRequestInterceptor(null);
    }
}
